package com.yxym.extend_.improve;
//继承Student父类
public class Pupil extends Student{
    //子类特有方法
    public void test(){

        System.out.println("小学生 " + name + " 正在考试"  );
    }
}
